package com.jtlrm.ckd.entity;

import android.os.Parcel;
import android.os.Parcelable;


public class YinShiDataEntity implements Parcelable {
    private String basicTime; // 饮食时间
    private String id; //饮食记录id
    private String dietTime;
    private String energy; //能量
    private String protein; // 蛋白质
    private String potassium; // 钠
    private String sodium; // 磷
    private String phosphorus; // 钾
    private String calcium; // 钙
    private String water; // 水分
    private String auditingState; // 审核状态

    protected YinShiDataEntity(Parcel in) {
        basicTime = in.readString();
        id = in.readString();
        dietTime = in.readString();
        energy = in.readString();
        protein = in.readString();
        potassium = in.readString();
        sodium = in.readString();
        phosphorus = in.readString();
        calcium = in.readString();
        water = in.readString();
        auditingState = in.readString();
    }

    public static final Creator<YinShiDataEntity> CREATOR = new Creator<YinShiDataEntity>() {
        @Override
        public YinShiDataEntity createFromParcel(Parcel in) {
            return new YinShiDataEntity(in);
        }

        @Override
        public YinShiDataEntity[] newArray(int size) {
            return new YinShiDataEntity[size];
        }
    };

    public String getBasicTime() {
        return basicTime;
    }

    public void setBasicTime(String basicTime) {
        this.basicTime = basicTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDietTime() {
        return dietTime;
    }

    public void setDietTime(String dietTime) {
        this.dietTime = dietTime;
    }

    public String getEnergy() {
        return energy;
    }

    public void setEnergy(String energy) {
        this.energy = energy;
    }

    public String getProtein() {
        return protein;
    }

    public void setProtein(String protein) {
        this.protein = protein;
    }

    public String getPotassium() {
        return potassium;
    }

    public void setPotassium(String potassium) {
        this.potassium = potassium;
    }

    public String getSodium() {
        return sodium;
    }

    public void setSodium(String sodium) {
        this.sodium = sodium;
    }

    public String getPhosphorus() {
        return phosphorus;
    }

    public void setPhosphorus(String phosphorus) {
        this.phosphorus = phosphorus;
    }

    public String getCalcium() {
        return calcium;
    }

    public void setCalcium(String calcium) {
        this.calcium = calcium;
    }

    public String getWater() {
        return water;
    }

    public void setWater(String water) {
        this.water = water;
    }

    public String getAuditingState() {
        return auditingState;
    }

    public void setAuditingState(String auditingState) {
        this.auditingState = auditingState;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(basicTime);
        dest.writeString(id);
        dest.writeString(dietTime);
        dest.writeString(energy);
        dest.writeString(protein);
        dest.writeString(potassium);
        dest.writeString(sodium);
        dest.writeString(phosphorus);
        dest.writeString(calcium);
        dest.writeString(water);
        dest.writeString(auditingState);
    }
}
